<%@page language="java" contentType="text/html; charset=utf-8"%>
<%@include file="/commons/inc.jsp" %>

<h3 id="navTitleId">血脂及脂蛋白检验</h3>

<body id="body">

<%@include file="/commons/showmessage.jsp" %>

<form name="lablipidsform" id="lablipidsform" method="post" action="${contextPath}/lab/lab.action?method=saveEditLabLipids">
	<s:hidden name="lablipids.lipidsid" id="lablipidsn.lipidsid"></s:hidden>
	<s:hidden name="lablipids.patientid" id="lablipids.patientid"></s:hidden>
	<s:hidden name="patientid" id="patientid"></s:hidden>
	
	<table border="0" cellspacing="1" cellpadding="0" class="formTable" width="100%" >
	<tbody>
		<tr>
			<td align="left" class="form-td"><label class="label">胆固醇(TC):</label></td>
			<td align="left" class="form-td"><input type="text" name="lablipids.tc" id="lablipids.tc" size="5" value="${lablipids.tc}"/>mmol/l</td>	
			<td align="left" class="form-td"><label class="label">甘油三酯(TG):</label></td>
			<td align="left" class="form-td"><input type="text" name="lablipids.tg" id="lablipids.tg" size="5" value="${lablipids.tg}"/>mmol/l</td>
	 	</tr>
	 	<tr>	
			<td align="left" class="form-td"><label class="label">高密度脂蛋白胆固醇(HDL-C):</label></td>
			<td align="left" class="form-td"><input type="text" name="lablipids.hdl" id="lablipids.hdl" size="5" value="${lablipids.hdl}"/>mmol/l</td>
			<td align="left" class="form-td"><label class="label">低密度脂蛋白胆固醇(LDL-C):</label></td>
			<td align="left" class="form-td"><input type="text" name="lablipids.ldl" id="lablipids.ldl" size="5" value="${lablipids.ldl}"/>mmol/l</td>
		</tr>
		 <tr>	
			<td align="left" class="form-td"><label class="label">脂蛋白A[Lp(a)]:</label></td>
			<td align="left" class="form-td"><input type="text" name="lablipids.lpa" id="lablipids.lpa" size="5" value="${lablipids.lpa}"/>mg/l</td>
			<td align="left" class="form-td"><label class="label">载脂蛋白AI(ApoAI):</label></td>
			<td align="left" class="form-td"><input type="text" name="lablipids.apoai" id="lablipids.apoai" size="5" value="${lablipids.apoai}"/>g/l</td>
		</tr>
		<tr>	
			<td align="left" class="form-td"><label class="label">载脂蛋白B(ApoB):</label></td>
			<td align="left" class="form-td"><input type="text" name="lablipids.apob" id="lablipids.apob" size="5" value="${lablipids.apob}"/>g/l</td>
			<td align="left" class="form-td"><label class="label">游离脂肪酸(FFA):</label></td>
			<td align="left" class="form-td"><input type="text" name="lablipids.ffa" id="lablipids.ffa" size="5" value="${lablipids.ffa}"/>mmol/l</td>
		</tr>
	</tbody>
	</table>
	<table>
		<tr>
			<td align="center"> 
			<input type="reset" value="重置">  
		    <input type="button" onclick="saveEdit('save');" value="保存"></td>
		</tr>
	</table>
</form>

<%@include file="/commons/tableSel.jsp" %>

</body>

<style type="text/css">
body {
	height: 100%;
	width: 100%;
}
</style>

<script>
function saveEdit(type){
	if(type=='refresh'){
		location.reload();
	}else if(type=='save'){
		if(!Validator.Validate($('lablipidsform'),3)){
			return;
		}	
		$('lablipidsform').submit();
	}
}
</script>